package com.chongbangbang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chongbangbang.pojo.PetSickInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * 宠物基本信息之疾病信息 Mapper 接口
 * </p>
 *
 * @author TP
 * @since 2022-03-16 15:20:37
 */
@Mapper
public interface PetSickInfoMapper extends BaseMapper<PetSickInfo> {

    /**
     * 根据宠物ID查询其疾病
     * @param petId
     * @return
     */
    List<PetSickInfo> getByPetId(@Param("petId") Integer petId);
}
